.message-list {
    flex: 1;
    overflow-y: auto;
    padding: 0;
    background: #f7f7f8;
    scroll-behavior: smooth;
}

.messages-container {
    padding: 20px;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

/* 滚动条样式 */
.message-list::-webkit-scrollbar {
    width: 6px;
}

.message-list::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.message-list::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.message-list::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .messages-container {
        padding: 16px 12px;
    }
}
